<?php

namespace Ladenise\EveBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Invtypes
 */
class Invtypes
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $typename;

    /**
     * @var string
     */
    private $description;

    /**
     * @var float
     */
    private $mass;

    /**
     * @var float
     */
    private $volume;

    /**
     * @var float
     */
    private $capacity;

    /**
     * @var integer
     */
    private $portionsize;

    /**
     * @var integer
     */
    private $raceid;

    /**
     * @var float
     */
    private $baseprice;

    /**
     * @var integer
     */
    private $published;

    /**
     * @var integer
     */
    private $marketgroupid;

    /**
     * @var float
     */
    private $chanceofduplicating;

    /**
     * @var \Ladenise\EveBundle\Entity\Invgroups
     */
    private $invgroup;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set typename
     *
     * @param string $typename
     * @return Invtypes
     */
    public function setTypename($typename)
    {
        $this->typename = $typename;
    
        return $this;
    }

    /**
     * Get typename
     *
     * @return string 
     */
    public function getTypename()
    {
        return $this->typename;
    }

    /**
     * Set description
     *
     * @param string $description
     * @return Invtypes
     */
    public function setDescription($description)
    {
        $this->description = $description;
    
        return $this;
    }

    /**
     * Get description
     *
     * @return string 
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Set mass
     *
     * @param float $mass
     * @return Invtypes
     */
    public function setMass($mass)
    {
        $this->mass = $mass;
    
        return $this;
    }

    /**
     * Get mass
     *
     * @return float 
     */
    public function getMass()
    {
        return $this->mass;
    }

    /**
     * Set volume
     *
     * @param float $volume
     * @return Invtypes
     */
    public function setVolume($volume)
    {
        $this->volume = $volume;
    
        return $this;
    }

    /**
     * Get volume
     *
     * @return float 
     */
    public function getVolume()
    {
        return $this->volume;
    }

    /**
     * Set capacity
     *
     * @param float $capacity
     * @return Invtypes
     */
    public function setCapacity($capacity)
    {
        $this->capacity = $capacity;
    
        return $this;
    }

    /**
     * Get capacity
     *
     * @return float 
     */
    public function getCapacity()
    {
        return $this->capacity;
    }

    /**
     * Set portionsize
     *
     * @param integer $portionsize
     * @return Invtypes
     */
    public function setPortionsize($portionsize)
    {
        $this->portionsize = $portionsize;
    
        return $this;
    }

    /**
     * Get portionsize
     *
     * @return integer 
     */
    public function getPortionsize()
    {
        return $this->portionsize;
    }

    /**
     * Set raceid
     *
     * @param integer $raceid
     * @return Invtypes
     */
    public function setRaceid($raceid)
    {
        $this->raceid = $raceid;
    
        return $this;
    }

    /**
     * Get raceid
     *
     * @return integer 
     */
    public function getRaceid()
    {
        return $this->raceid;
    }

    /**
     * Set baseprice
     *
     * @param float $baseprice
     * @return Invtypes
     */
    public function setBaseprice($baseprice)
    {
        $this->baseprice = $baseprice;
    
        return $this;
    }

    /**
     * Get baseprice
     *
     * @return float 
     */
    public function getBaseprice()
    {
        return $this->baseprice;
    }

    /**
     * Set published
     *
     * @param integer $published
     * @return Invtypes
     */
    public function setPublished($published)
    {
        $this->published = $published;
    
        return $this;
    }

    /**
     * Get published
     *
     * @return integer 
     */
    public function getPublished()
    {
        return $this->published;
    }

    /**
     * Set marketgroupid
     *
     * @param integer $marketgroupid
     * @return Invtypes
     */
    public function setMarketgroupid($marketgroupid)
    {
        $this->marketgroupid = $marketgroupid;
    
        return $this;
    }

    /**
     * Get marketgroupid
     *
     * @return integer 
     */
    public function getMarketgroupid()
    {
        return $this->marketgroupid;
    }

    /**
     * Set chanceofduplicating
     *
     * @param float $chanceofduplicating
     * @return Invtypes
     */
    public function setChanceofduplicating($chanceofduplicating)
    {
        $this->chanceofduplicating = $chanceofduplicating;
    
        return $this;
    }

    /**
     * Get chanceofduplicating
     *
     * @return float 
     */
    public function getChanceofduplicating()
    {
        return $this->chanceofduplicating;
    }

    /**
     * Set invgroup
     *
     * @param \Ladenise\EveBundle\Entity\Invgroups $invgroup
     * @return Invtypes
     */
    public function setInvgroup(\Ladenise\EveBundle\Entity\Invgroups $invgroup = null)
    {
        $this->invgroup = $invgroup;
    
        return $this;
    }

    /**
     * Get invgroup
     *
     * @return \Ladenise\EveBundle\Entity\Invgroups 
     */
    public function getInvgroup()
    {
        return $this->invgroup;
    }
}